package mysql

import "gorm.io/gorm"

type Warehouse struct {
	gorm.Model
	Num      string  `gorm:"type:varchar(50)" json:"num"`
	Types    string  `gorm:"type:varchar(30)" json:"types"`
	Name     string  `gorm:"type:varchar(30)" json:"name"`
	Quantity int     `gorm:"type:int(11)" json:"quantity"`
	Price    float64 `gorm:"type:decimal(10,2)" json:"price"`
	User     string  `gorm:"type:varchar(30)" json:"user"`
}
